package com.xbongbong.paas.service;

import com.xbongbong.paas.pojo.dto.CardListDTO;
import com.xbongbong.paas.pojo.dto.CardSaveDTO;
import com.xbongbong.paas.pojo.vo.CardListVO;
import com.xbongbong.paas.pojo.vo.CardSaveVO;
import com.xbongbong.paas.toolbox.exception.XbbException;

/**
 * @author: wufeng
 * @date: 2018/8/30 15:48
 * @desrcption: 自定义卡片
 */
public interface CustomCardService {
    /**
     * 设置卡片
     * @param cardSaveDTO
     * @return
     * @throws XbbException
     */
    CardSaveVO save(CardSaveDTO cardSaveDTO) throws XbbException;


    /**
     * 卡片列表
     * @param cardListDTO
     * @return
     * @throws XbbException
     */
    CardListVO list(CardListDTO cardListDTO) throws XbbException;
}
